#include<stdio.h>

int main()
{
	double a, b, c, d, e;
	while(scanf("%d %d %d %d %d",&a,&b,&c,&d,&e)!=EOF)
	{  double sum;
	sum=a+b+c+d+e;
    	printf("%d\n",sum);
	}
	
	return 0;
	
	
}